local extension = Package:new("joy_xd2")
extension.extensionName = "joyre"

extension:loadSkillSkelsByPath("./packages/joyre/pkg/joy_xd2/skills")

local trans = require("./packages/joyre/pkg/joy_xd2/trans")

local mayunlu = General:new(extension, "joy__mayunlu", "shu", 4, 4, General.Female)
mayunlu:addSkills { "mashu", "joy__fengpo" }

local lvkai = General:new(extension, "joy__lvkai", "shu", 3)
lvkai:addSkills { "joy__tunan", "bijing" }

local wuxian = General:new(extension, "joy__wuxian", "shu", 3, 3, General.Female)
wuxian:addSkills { "joy__fumian", "joy__daiyan" }

local huaman = General:new(extension, "joy__huaman", "shu", 4, 4, General.Female)
huaman:addSkills { "manyi", "joy__mansi", "joy__souying", "joy__zhanyuan" }
huaman:addRelatedSkills { "xili" }

local zhujianping = General:new(extension, "joy__zhujianping", "qun", 3)
zhujianping:addSkills { "xiangmian", "tianji" }

local ruiji = General:new(extension, "joy__ruiji", "wu", 4, 4, General.Female)
ruiji:addSkills { "wangyuan", "lingyin", "liying" }

local yanrou = General:new(extension, "joy__yanrou", "wei", 4)
yanrou:addSkills { "choutao", "joy__xiangshu" }

local sunlingluan = General:new(extension, "joy__sunlingluan", "wu", 3, 3, General.Female)
sunlingluan:addSkills { "lingyue", "pandi" }

local yanbaihu = General:new(extension, "joy__yanbaihu", "qun", 4)
yanbaihu:addSkills { "joy__zhidao", "joy__bjili" }

local liubian = General:new(extension, "joy__liubian", "qun", 3)
liubian:addSkills { "shiyuan", "joy__dushi", "yuwei" }

local fanchou = General:new(extension, "joy__fanchou", "qun", 4)
fanchou:addSkills { "joy__xingluan" }

local dingyuan = General:new(extension, "joy__dingyuan", "qun", 4)
dingyuan:addSkills { "joy__cixiao", "xianshuai" }
dingyuan:addRelatedSkills { "joy__panshi" }

local heqi = General:new(extension, "joy__heqi", "wu", 4)
heqi:addSkills { "joy__qizhou", "joy__shanxi" }
heqi:addRelatedSkills { "ex__yingzi", "joy__qixi", "ty_ex__xuanfeng", "joy__duanbing" }

local hujinding = General:new(extension, "joy__hujinding", "shu", 3, 6)
hujinding:addSkills { "joy__wuyuan", "deshi", "huaizi" }

local sunhanhua = General:new(extension, "joy__sunhanhua", "wu", 3, 3, General.Female)
sunhanhua:addSkills { "joy__huiling", "joy__chongxu" }
sunhanhua:addRelatedSkills { "taji", "qinghuang" }

local guosi = General:new(extension, "joy__guosi", "qun", 4)
guosi:addSkills { "joy__tanbei", "joy__sidao" }

local zerong = General:new(extension, "joy__zerong", "qun", 4)
zerong:addSkills { "cansi", "fozong" }

local huangfusong = General:new(extension, "joy__huangfusong", "qun", 4)
huangfusong:addSkills { "ty__fenyue", "joy__juxia" }

local dongwan = General:new(extension, "joy__dongwan", "qun", 3, 3, General.Female)
dongwan:addSkills { "shengdu", "jieling" }

local dengzhi = General:new(extension, "joy__dengzhi", "shu", 3)
dengzhi:addSkills { "jianliang", "joy__weimeng" }

local chenlin = General:new(extension, "joy__chenlin", "wei", 3)
chenlin:addSkills { "bifa", "joy__songci" }

local zhangwen = General:new(extension, "joy__zhangwen", "wu", 3)
zhangwen:addSkills { "joy__songshu", "joy__sibian" }

local wutugu = General:new(extension, "joy__wutugu", "qun", 15)
wutugu:addSkills { "joy__ranshang", "ty__hanyong" }

local zhoubuyi = General:new(extension, "joy__zhoubuyi", "wei", 3)
zhoubuyi:addSkills { "shijiz", "silun" }

local huangquan = General:new(extension, "joy__huangquan", "shu", 3)
huangquan:addSkills { "quanjian", "tujue" }

local zongyu = General:new(extension, "joy__zongyu", "shu", 3)
zongyu:addSkills { "qiao", "joy__chengshang" }

local wangshuang = General:new(extension, "joy__wangshuang", "wei", 8)
wangshuang:addSkills { "joy__zhuilie" }

local caochun = General:new(extension, "joy__caochun", "wei", 4)
caochun:addSkills { "ty__shanjia" }

local yangyi = General:new(extension, "joy__yangyi", "shu", 3)
yangyi:addSkills { "ty__juanxia", "ty__dingcuo" }

local liuye = General:new(extension, "joy__liuye", "wei", 3)
liuye:addSkills { "joy__poyuan", "huace" }

local wufan = General:new(extension, "joy__wufan", "wu", 4)
wufan:addSkills { "tianyun", "yuyan" }
wufan:addRelatedSkills { "ty__fenyin" }

local weiwenzhugezhi = General:new(extension, "joy__weiwenzhugezhi", "wu", 4)
weiwenzhugezhi:addSkills { "joy__wfuhai" }

local wangjun = General:new(extension, "joy__wangjun", "qun", 4)
wangjun:addSkills { "tongye", "changqu" }

local peiyuanshao = General:new(extension, "joy__peiyuanshao", "qun", 4)
peiyuanshao:addSkills { "moyu" }

local dongxie = General:new(extension, "joy__dongxie", "qun", 4, 4, General.Female)
dongxie:addSkills { "joy_jiaoxia", "joy_humei" }


return extension
